<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>头条案例</title>
    <style>
        a{
            /*去掉链接下划线*/
            text-decoration: none;
        }
        /*鼠标悬浮*/
        a:hover{
            color: red;
        }
    </style>
</head>
<body>
 <a href="../img/ad1.jpg">图片链接</a>
 <a href="../img/itheima.png"><img src="../img/ad1.jpg"/></a>
</body>
</html>